<template>
  <div class="myheader">
    <h2>{{title}}</h2>
  </div>
</template>

<script>
export default {
    name:'myheader',
    props:{
        title:''
    }
};
</script>

<style lang="scss" scoped>
.myheader {
  width: 100%;
  height: 50px;
  h2 {
    height: 50px;
    line-height: 50px;
    background-color: rgb(54, 158, 243);
    color: #fff;
  }
}
</style>